package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Course;

import java.util.List;

public interface CourseService {

    PageResult<Course> page(Integer page, Integer pageSize, String name, Integer status, Integer target);

    void deleteById(Integer id);

    void addCourse(Course course);

    Course getById(Integer courseId);

    void update(Course course);

    List<Course> findAll();

    List<Course> findBySubject(Integer subject);
}
